// rollup.config.prod.js
import rollupConfig, { plugins } from './rollupConfig/index'
import { terser } from 'rollup-plugin-terser'

export default {
  ...rollupConfig,
  output: {
    file: 'dist/index.js',
    format: 'cjs'
  },
  plugins: [
    ...plugins,
    terser()
  ]
}
